Declaring more resources within a configuration of the PLC-object
Conditions for the declaration of more →resources:
-
The →target system supports this declaration.
-
The rule Only one resource is allowed for the validating of the application is deactivated.
How to declare more resources within a configuration of the PLC-object:
-
Open the PLC-object.
-
In the opened editor for the PLC-object, search for the existing section of the already existing resource.
Syntax RESOURCE resource-name ON platform-name { ... }
...
END_RESOURCE
Example for lines withing PLC-object "local" RESOURCE local ON BuiltInPlc { ON_CHANNEL := LocalChannel }
TASK DefaultTask(INTERVAL := TIME#500ms, PRIORITY := 38229);
PROGRAM Counter WITH DefaultTask :
Counter;
END_RESOURCE
-
Copy these lines onto the clipboard and paste them directly under the line
END_RESSOURCE
ein – hence within the current →configuration. -
Adapt the pasted lines.
See "PLC-specifications within editor for PLC-object", if you need details on the possibilities or the syntax. -
Save the PLC-object: menu File – Save
Results on loading the application onto the PLC Neuron Power Engineer is able to exeute the application of one resource only on the PLC at the same time. |